package com.wjc.train.business.req;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wjc.train.common.entity.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * <p>
 * 车厢表
 * </p>
 *
 * @author Guessed
 * @since 2023-08-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("train_carriage")
public class TrainCarriageQueryReq extends BaseQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 车次编号
     */
    private String trainCode;

    /**
     * 厢号
     */
    private Integer index;

    /**
     * 座位类型
     */
    private Integer seatType;

    /**
     * 座位数
     */
    private Integer seatCount;

    /**
     * 排数
     */
    private Integer rowCount;

    /**
     * 列数
     */
    private Integer columnCount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTrainCode() {
        return trainCode;
    }

    public void setTrainCode(String trainCode) {
        this.trainCode = trainCode;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getSeatType() {
        return seatType;
    }

    public void setSeatType(Integer seatType) {
        this.seatType = seatType;
    }

    public Integer getSeatCount() {
        return seatCount;
    }

    public void setSeatCount(Integer seatCount) {
        this.seatCount = seatCount;
    }

    public Integer getRowCount() {
        return rowCount;
    }

    public void setRowCount(Integer rowCount) {
        this.rowCount = rowCount;
    }

    public Integer getColumnCount() {
        return columnCount;
    }

    public void setColumnCount(Integer columnCount) {
        this.columnCount = columnCount;
    }

    @Override
    public String toString() {
        return "TrainCarriage{" +
            "id = " + id +
            ", trainCode = " + trainCode +
            ", index = " + index +
            ", seatType = " + seatType +
            ", seatCount = " + seatCount +
            ", rowCount = " + rowCount +
            ", columnCount = " + columnCount +
        "}";
    }
}
